package com.partner.mapper.sysright;

import java.util.List;
import java.util.Map;

import com.partner.bean.scenicspot.TScenicspotVo;
import com.partner.bean.sysright.TRoleScenicRelation;

public interface TRoleScenicRelationMapper {
    int deleteByPrimaryKey(Integer id);
    
    int deleteByRoleId(Integer id);

    int insert(TRoleScenicRelation record);

    int insertSelective(TRoleScenicRelation record);

    TRoleScenicRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TRoleScenicRelation record);

    int updateByPrimaryKey(TRoleScenicRelation record);
    
    List<TScenicspotVo> selectByRoleId(Integer id);
    
    int selectByRoleIdAndSceId(Map<String, Integer> map);
}